﻿
set(subproject_name Inject)
file(GLOB_RECURSE SRC_FILES "*.cpp" "*.h*")

find_package(wxWidgets REQUIRED COMPONENTS core base)
find_package(Boost CONFIG REQUIRED nowide filesystem)
if(NOT TARGET wx::core)
    include(${wxWidgets_USE_FILE})
endif()
add_win32_execute(${subproject_name} ${SRC_FILES})
target_link_libraries(${subproject_name} PRIVATE ${wxWidgets_LIBRARIES} Boost::nowide Boost::filesystem Ws2_32)
target_include_directories(${subproject_name} PRIVATE ${Boost_INCLUDE_DIRS})
target_compile_definitions(${subproject_name} PRIVATE wxDEBUG_LEVEL=0)
